package cn.com.cym.gamezao.repository.xmu.recruit;

import cn.com.cym.gamezao.base.BaseRepository;
import cn.com.cym.gamezao.entity.authorize.User;
import cn.com.cym.gamezao.entity.xmu.recruit.Certificate;
import org.springframework.data.redis.core.RedisHash;
import org.springframework.stereotype.Repository;

import java.util.List;

@RedisHash
@Repository
public interface CertificateRepository extends BaseRepository<Certificate,Long> {

    List<Certificate> getAllByUser(User user);
}
